<Code Lib>
2021 Method
Changes 0
M

WorksharingUtils.CheckoutWorksets(Document, ISet<WorksetId>, TransactWithCentralOptions)

Description:
Obtains ownership for the current user of as many specified worksets as possible.
Remarks:
For best performance, check out all worksets in one big call, rather than many small calls.
Overloads (2):
CheckoutWorksets(Document,ISet[WorksetId],TransactWithCentralOptions)

public static ISet<WorksetId> CheckoutWorksets(
	Document document,
	ISet<WorksetId> worksetsToCheckout,
	TransactWithCentralOptions options
)

Return Value ISet<WorksetId> The ids of all specified worksets that are now owned, including all that were owned prior to the function call.

Loading…